package cn.dengta.webapp.trade.entity;

import java.util.Date;

import cn.dengta.webapp.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * IP黑名单
 *
 * @author zw
 * @since 2024-07-04
 */
@Setter
@Getter
@TableName("dt_ip_black_list")
public class IpBlackList extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 地区编码 */
	Integer cityId;

	/** 备注 */
	String remark;
	/** 搭讪开关：0=关；1=开 */
	Boolean greetSwitch;
	/** 注册开关：0=关；1=开 */
	Boolean registerSwitch;
	/** 添加时间 */
	Date addTime;
	/** 最后更新时间 */
	Date updateTime;

	public static final String CITY_ID = "city_id";
	public static final String GREET_SWITCH = "greet_switch";
	public static final String REGISTER_SWITCH = "register_switch";
	public static final String ADD_TIME = "add_time";
	public static final String UPDATE_TIME = "update_time";

}
